package com.why.nyz.web.controller;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
@RequestMapping(value="/")
public class TestController {
	@RequestMapping(value="/")
	public String test(Model model){
		model.addAttribute("test", "123");
		return "index";
	}
}
